package com.cz.auth.mapper;

import com.cz.auth.entity.Permission;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>权限mapper</p>
 * <p>
 * <pre>
 * @author gitamacai
 * @date 2019/11/14 10:10
 * </pre>
 */
public interface PermissionMapper {
    /**
     * 查询所有权限
     *
     * @return 返回所有权限
     */
    @Select(" select * from sys_permission ")
    List<Permission> findAllPermission();
}
